// import Cookies from 'js-cookie'

const key = 'userInfo'

export function getUserInfo() {
  return localStorage.getItem(key)
}

export function setUserInfo(userInfo) {
  return localStorage.setItem(key, userInfo)
}

